<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">
       h1 {font-size:16px;}
       p {font-size:14px;text-indent: 20px;}
    </style>
  </head>
  <body>
    <h1>1:接口名称</h1>
    <p>我要问问<br/>
    </p>
    <h1>2:接口说明</h1>
    <p>/request/add.do</p>
    <h1>3：接口测试</h1>
    <p>
    <form name="form1" id="form1" enctype="multipart/form-data" method="post"  >
	    question:<input type="text" name="question" value="" size="60"/> //问题<br/>
	    type:<select name="type">
	               <option value="tiw">提问</option>
	               <option value="diaoc">调查</option>
	         </select>  
	     tiw|diaoc<br/>
	    score:<input type="number" name="score" value="13" /> 悬赏积分<br/>
	    option0:<input type="text" name="option0" value="" /> 选项1<br/>
	    option1:<input type="text" name="option1" value="" /> 选项2<br/>
	    option2:<input type="text" name="option2" value="" /> 选项3<br/>
	    option3:<input type="text" name="option3" value="" /> 选项4<br/>
	    <input type="button" value="submit" onclick="exe();">
	</form>
	<br/>
    </p>
    
    <h1>4：接口返回</h1>
    <p>
    <div id="backJson">
          
    </div>
    <br/>
    
    </p>
  </body>
</html>
<script type="text/javascript" src="/js/xhr.js"></script>
<script type="text/javascript" src="/js/cactus.js"></script>
<script>
    function exe(){
           Demo.execute("/request/add.do",document.forms["form1"]);
    }
</script>
